#include <iostream>
#include <thread>


int main()
{
    auto func = []()
    {
        std::cout << "Hello Concurrent World" << std::endl;
    };

    std::cout << "Hello World " << std::endl;
    std::thread t1(func); // 创建一个线程并执行func
    t1.join(); // 等待线程t1完成
    return 0;
}
